libxc: Use .opic to build xenctrl_osdep_ENOSYS.so
authorKeir Fraser <keir@xen.org>
Fri, 24 Dec 2010 10:17:49 +0000 (10:17 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 24 Dec 2010 10:17:49 +0000 (10:17 +0000)
commit39810ac59bf2e15cb2a54464ac0059384e56b912
treec2886f96d2d38e402c163b0344ed43a121cca6d7
parent500483a2156e2311c974ef6e4f7f04f5b94b3c88
libxc: Use .opic to build xenctrl_osdep_ENOSYS.so

Resolves build error:
    /usr/bin/ld: xenctrl_osdep_ENOSYS.o: relocation R_X86_64_32
    against `a local symbol' can not be used when making a shared
    object; recompile with -fPIC
    xenctrl_osdep_ENOSYS.o: could not read symbols: Bad value
    collect2: ld returned 1 exit status

Clean up object files correctly too.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/Makefile